import axios from '~/config/axios'

export function JobList(json) {
    const url = '/company/job/list'

    return axios.post(url, json)
}

export function CompanyMe(json) {
    const url = '/company/me'

    return axios.post(url, {})
}

export function WorkerCompany(json) {
    const url = '/worker/company'

    return axios.post(url, json)
}

export function CompanyShow(json) {
    const url = '/company/company/show'

    return axios.post(url, json)
}

export function ShowLicense(json) {
    const url = '/company/company/showLicense'

    return axios.post(url, json)
}

export function Describe(json) {
    const url = '/company/describe'

    return axios.post(url, json)
}

export function ResumePool(json) {
    const url = '/company/job/resumePool'

    return axios.post(url, json)
}

export function ResumePoolCategory(json) {
    const url = '/company/job/resumePoolCategory'

    return axios.post(url, {})
}

export function Resume(json) {
    const url = '/company/resume'

    return axios.post(url, json)
}

export function JobManageList(json) {
    const url = '/company/job/list'

    return axios.post(url, json)
}

export function MemberList(json) {
    const url = '/company/member/memberList'

    return axios.post(url, {})
}

export function CompanyList(json) {
    const url = '/worker/companyList'

    return axios.post(url, {})
}

export function BuyMember(json) {
    const url = '/company/member/buyMember'

    return axios.post(url, json)
}

export function BuyMemberMenu(json) {
    const url = '/company/member/buyMemberMenu'

    return axios.post(url, json)
}

export function JobShow(json) {
    const url = '/company/job/show'

    return axios.post(url, json)
}

export function JobDescribe(json) {
    const url = '/company/job/describe'

    return axios.post(url, json)
}

export function JobOffline(json) {
    const url = '/company/job/offline'

    return axios.post(url, json)
}


export function TopList(json) {
    const url = '/company/job/topList'

    return axios.post(url, json)
}

export function BuyTopList(json) {
    const url = '/company/job/buyTopList'

    return axios.post(url, json)
}

export function Industry(json) {
    const url = '/industry'

    return axios.get(url, json)
}

export function JobStarList(json) {
    const url = '/worker/job/starred'

    return axios.post(url, json)
}

export function BuyResume(json) {
    const url = '/company/resume/buy'

    return axios.post(url, json)
}

export function Star(json) {
    const url = '/worker/job/star'

    return axios.post(url, json)
}

export function AppliedList(json) {
    const url = '/worker/job/applied'

    return axios.post(url, json)
}

export function ResumeDetail(json) {
    const url = '/company/resume/item'

    return axios.post(url, json)
}

export function License(json) {
    const url = '/company/company/license'

    return axios.post(url, json)
}
